package uk.co.pc;

import java.util.ArrayList;
import java.util.List;

import uk.co.pc.domain.model.Article;

public class ArticleTestUtils {

    public static final int NUMBER_ELEMENTS_PER_TYPE = 1;
    
	public static List<Article> initializeArticles() {
		List<Article> articlesList = new ArrayList<Article>();
		for (int i = 0; i < NUMBER_ELEMENTS_PER_TYPE; i++) {
			articlesList.add(initializeArticle("title" + i, "author" + i));
			articlesList.add(initializeArticle("TITLE" + i, "AUTHOR" + i));
		}
		return articlesList;
	}

	public static  Article initializeArticle (String title, String author) {
    	Article article = Article.create();
		article.setTitle(title);
		article.setAuthor(author);
    	return article;
    }

	
}
